{% extends "base_u.tpl" %}
 
{% block page_content %}
          <p>
            <p class="page_header">Новости</p>
            {% ifnotequal page 'nonews' %}
              {% for n in page %}
                <p class="news_block">
                  <span class="news_date">{{ n.Date|date:"d M Y H:i" }}</span><br>
                  <span class="news_text">{{ n.Text }}</span>
                </p>
                <hr>
              {% endfor %}                
            {% else %}
              <p id="no_news">Нет новостей</p>
            {% endifnotequal %}
          </p>
{% endblock %}